#player {
  width: 100%;
  height: 100%;
  padding: 5px;
}

#display {
  position: relative;
  width: calc(100vw - 10px);
  height: calc(100vh - 40px);
}

#screen * {
}

#player .notification-container {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#player .seek-notification {
  color: white;
  background: rgba(0, 0, 0, 0.75);

  display: none; /* Initially hidden */
  width: 100%;
  height: 100%;

}

#player.seeking .seek-notification {
  display: table;
}

#player .seek-notification p {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-family: sans-serif;
}

#player .controls {

  width: 100%;
  height: 30px;

  /* IE10 */
  display: -ms-flexbox;
  -ms-flex-align: center;
  -ms-flex-direction: row;

  /* Ancient Mozilla */
  display: -moz-box;
  -moz-box-align: center;
  -moz-box-orient: horizontal;

  /* Ancient WebKit */
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-box-orient: horizontal;

  /* Old WebKit */
  display: -webkit-flex;
  -webkit-align-items: center;
  -webkit-flex-direction: row;

  /* W3C */
  display: flex;
  align-items: center;
  flex-direction: row;

  padding-right: 10px;

}

#player .controls > * {
  margin: 0.25em;
}

#player .controls #position-slider {
  -ms-flex: 1 1 auto;
  -moz-box-flex: 1;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

#player .controls #play-pause {
  margin-left: 0;
  //min-width: 5em;
}

#player .controls #position,
#player .controls #duration {
  font-family: monospace;
}

#player .controls #duration {
  margin-right: 0;
}
